package com.lovo.sgproj.bean;

import java.util.Date;

public class StudentBean {
    private int studentID;
    private String studentname;
    private Boolean gender; //true 男 false 女
    private String studentphone;
    private Date studentdate;
    private String studentimg;

    private ClassBean theClass;//学生所属班级
    private RoomBean theRoom;//学生所属房间

    public StudentBean() {

    }

    public int getStudentID() {
        return studentID;
    }

    public void setStudentID(int studentID) {
        this.studentID = studentID;
    }

    public String getStudentname() {
        return studentname;
    }

    public void setStudentname(String studentname) {
        this.studentname = studentname;
    }

    public Boolean getGender() {
        return gender;
    }

    public void setGender(Boolean gender) {
        this.gender = gender;
    }

    public String getStudentphone() {
        return studentphone;
    }

    public void setStudentphone(String studentphone) {
        this.studentphone = studentphone;
    }

    public Date getStudentdate() {
        return studentdate;
    }

    public void setStudentdate(Date studentdate) {
        this.studentdate = studentdate;
    }

    public String getStudentimg() {
        return studentimg;
    }

    public void setStudentimg(String studentimg) {
        this.studentimg = studentimg;
    }

    public ClassBean getTheClass() {
        return theClass;
    }

    public void setTheClass(ClassBean theClass) {
        this.theClass = theClass;
    }

    public RoomBean getTheRoom() {
        return theRoom;
    }

    public void setTheRoom(RoomBean theRoom) {
        this.theRoom = theRoom;
    }

    @Override
    public String toString() {
        return "StudentBean{" +
                "studentID=" + studentID +
                ", studentname='" + studentname + '\'' +
                ", gender=" + gender +
                ", studentphone='" + studentphone + '\'' +
                ", studentdate=" + studentdate +
                ", studentimg='" + studentimg + '\'' +
                ", theClass=" + theClass +
                ", theRoom=" + theRoom +
                '}';
    }
}
